package com.delayqueue.common.netty;


import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Address {

    private String ip;
    private int port;

    public Address(String ip, int port) {
        this.ip = ip;
        this.port = port;
    }

    @Override
    public String toString() {
        return ip + ":" + port;
    }
}
